how to read csv file in dictionary format